/**
 * Created by Administrator on 2017/8/20.
 */
class MessageRouter{
  static instance = null;



  constructor(){
    if(MessageRouter.instance==null){
      MessageRouter.instance = this;
    }
    return MessageRouter.instance;
  }

  addListener(key,listener){

  }

  removeListener(key){

  }

  handler(message,ctx){

  }
}

export default new MessageRouter();
